package com.huiyujinrong.qiangdanbao.model;


import com.huiyujinrong.qiangdanbao.bean.RecordBean;
import com.huiyujinrong.qiangdanbao.network.AppService;

import javax.inject.Inject;

import happyloan.core.EventBusUtil;

public class RecordModel {

    private AppService service;

    @Inject RecordModel(AppService service){
        this.service=service;
    }

    public void getRecordData(String user_id,int currentPage){
        EventBusUtil<RecordBean> util = new EventBusUtil<>();
        util.sendEvent4Call(service.getRecordData(user_id,currentPage));
    }

}
